package com.dao;

import java.util.List;

import com.entity.Orders;

public interface IOrdersDao {
	public List<Orders> showOrdersByPage(int currPage,int pageSize, String uid );
	
	public int getOrdersCount(String uid);
	
	public int addOrder(Orders os);
	
	public int getAddOrderId(String uid);
	
	public int delOrder(String id);
	
	public Orders getOrder(String id);
	/**
	 * 将订单状态修改为已发货状态
	 * */
	public int modOrderState_1(String id);
	/**
	 * 将订单状态修改为已完成状态
	 * */
	public int modOrderState_2(String id);
}